package org.jeecg.modules.wangyue.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.wangyue.entity.ServiceJs;
import org.jeecg.modules.wangyue.entity.UserRoleInfo;
import org.jeecg.modules.wangyue.mapper.ServiceJsMapper;
import org.jeecg.modules.wangyue.model.res.ResUserRoleInfoModel;
import org.jeecg.modules.wangyue.service.IServiceJsService;
import org.jeecg.modules.wangyue.utils.DateUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 技师服务类型关系表
 * @Author: jeecg-boot
 * @Date:   2023-06-30
 * @Version: V1.0
 */
@Service
public class ServiceJsServiceImpl extends ServiceImpl<ServiceJsMapper, ServiceJs> implements IServiceJsService {

    @Autowired
    private ServiceJsMapper serviceJsMapper;

    @Override
    public IPage<ResUserRoleInfoModel> getJsInfoPage(Page page, String serviceTypeCode, String cityCode, String userId) {
        return serviceJsMapper.queryJsInfoPage(page, serviceTypeCode, cityCode, userId);
    }

}
